import Mock from 'mockjs'

//creatTeam.vue
Mock.mock('http://localhost:8081/api/pri/team/finTeamByTeamId','post',()=>{
  return {
    "code": 0,
    "data": {
      "teamId": "d7525a5a-e9ae-4ba3-8c4a-afc8e4679b18",
      "captainId": 1,
      "teacherId": 2,
      "teamName": "旺旺特警队",
      "teamHeadcount": 3,
      "teamState": 0,
      "competition": null,
      "teamContent": "快来加入旺旺特警队吧",
      "createTime": "2022-01-04T13:15:12.000+00:00",
      "captain": {
        "userId": 1,
        "userName": "201910630201",
        "password": null,
        "name": "张三",
        "phone": "18562768107",
        "sex": "男",
        "collegeId": null,
        "period": "2019",
        "userRole": 1,
        "userClassName": "计科一班",
        "userState": 1,
        "createTime": "2022-01-03T06:14:15.000+00:00",
        "role": {
          "roleId": 1,
          "roleName": "学生"
        },
        "college": {
          "collegeId": 1,
          "collegeName": "工学院"
        }
      },
      "teacher": {
        "userId": 2,
        "userName": "001",
        "password": null,
        "name": "李四",
        "phone": "18562768107",
        "sex": "男",
        "collegeId": null,
        "period": "2018",
        "userRole": 2,
        "userClassName": "计科一班",
        "userState": 0,
        "createTime": "2022-01-03T10:24:51.000+00:00",
        "role": {
          "roleId": 2,
          "roleName": "老师"
        },
        "college": {
          "collegeId": 2,
          "collegeName": "人文学院"
        }
      },
      "player": [
        {
          "userId": 3,
          "userName": "201910630203",
          "password": null,
          "name": "王五",
          "phone": null,
          "sex": null,
          "collegeId": 1,
          "period": null,
          "userRole": 1,
          "userClassName": null,
          "userState": null,
          "createTime": null,
          "role": null,
          "college": null
        },
        {
          "userId": 3,
          "userName": "201910630203",
          "password": null,
          "name": "李四",
          "phone": null,
          "sex": null,
          "collegeId": 1,
          "period": null,
          "userRole": 1,
          "userClassName": null,
          "userState": null,
          "createTime": null,
          "role": null,
          "college": null
        }
      ],
      "apply": null
    },
    "msg": null
  }
  })
